package net.sky.oa.service.talkpark.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.htsoft.core.service.impl.BaseServiceImpl;

import net.sky.oa.dao.talkpark.MailDao;
import net.sky.oa.model.Mail;
import net.sky.oa.service.talkpark.MailService;


@Service
@Transactional
public class MailServiceImpl extends BaseServiceImpl<Mail> implements MailService {
    
	private MailDao maildao;
	
	@Resource
	public void setDao(MailDao maildao){
		super.setDao(maildao);
		this.maildao=maildao;
	}
	@Transactional(readOnly=true)
	public List<Mail> findAllMail(){ 
		
		return this.maildao.findAllMail();
	}

	public List<Mail> findByHql(String paramString) {
		
		return null;
	}



	



}
